package org.swift.mashup.engine.model;

import java.util.Map;


public interface From {
	
	/**
	 * A string representing the orginal source of the this from
	 * ie.  A RemoteFrom would be the url, FromVariable returns the name of the varabile 
	 *  
	 * @return String
	 */
	String getSource();
	
	Object getValue(Map<String, ? extends Object> map,Map<String, ? extends Object> restMap);
	Object getValue(Map<String, ? extends Object> map,Map<String, ? extends Object> restMap, Map<String,String> headerMap);
	
	String getFromProcessor();
	
	void setFromProcessor(String processor);
	
}
